package com.chen.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chen.blog.model.Follow;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author chen
 * @since 2022-01-24
 */
public interface FollowMapper extends BaseMapper<Follow> {

    /**
     * 获取人们作者用户名及其关注量
     *
     * @return
     */
    List<Map<String, Object>> getHotAuthor();

}
